﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateMember.aspx.cs" Inherits="BIExtAuth.Web.Admin.CreateMember" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../css/adminCommon.css" rel="stylesheet" type="text/css" />
    <title>创建用户</title>
</head>
<body>
    <form id="form1" runat="server">
    <div class="pwdModify">
        <div class="titleBar">
            <h1>
                创建用户</h1>
        </div>
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <th width="100">
                    账号：
                </th>
                <td>
                    <asp:TextBox ID="txtUserID" MaxLength="20" runat="server" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvUserID" runat="server" ErrorMessage="*" ForeColor="Red"
                        ToolTip="该项为必填项" ControlToValidate="txtUserID" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    名称：
                </th>
                <td>
                    <asp:TextBox ID="txtFullName" MaxLength="50" runat="server" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvUserName" runat="server" ErrorMessage="*" ForeColor="Red"
                        ToolTip="该项为必填项" ControlToValidate="txtFullName" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    描述：
                </th>
                <td>
                    <asp:TextBox ID="txtDesc" MaxLength="50" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    邮箱：
                </th>
                <td>
                    <asp:TextBox ID="txtEmail" MaxLength="50" runat="server" CssClass="txt"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="revtxtEmail" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="*" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ToolTip="请输入正确的EMail"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <th>
                    密码：
                </th>
                <td>
                    <asp:TextBox ID="txtPwd" MaxLength="50" runat="server" TextMode="Password" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPwd" runat="server" ErrorMessage="*" ForeColor="Red"
                        ToolTip="该项为必填项" ControlToValidate="txtPwd" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    状态：
                </th>
                <td>
                    <asp:DropDownList ID="ddlState" runat="server" Width="290px">
                        <asp:ListItem Value="1">启用</asp:ListItem>
                        <asp:ListItem Value="0">停用</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th>
                    管理员账号：
                </th>
                <td>
                    <asp:TextBox ID="txtAdminUser" MaxLength="50" runat="server" CssClass="txt"></asp:TextBox><asp:RequiredFieldValidator ID="rfvtxtAdminUser" runat="server" ErrorMessage="*" ForeColor="Red"
                        ToolTip="该项为必填项" ControlToValidate="txtAdminUser" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    管理员密码：
                </th>
                <td>
                    <asp:TextBox ID="txtAdminPwd" TextMode="Password" MaxLength="50" runat="server" CssClass="txt"></asp:TextBox><asp:RequiredFieldValidator ID="rfvtxtAdminPwd" runat="server" ErrorMessage="*" ForeColor="Red"
                        ToolTip="该项为必填项" ControlToValidate="txtAdminPwd" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="btn" OnClick="BtnSave_Click" />
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <asp:Label ID="msg" runat="server" Style="color: Red; font-family: 微软雅黑, 宋体;" Text=""></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
